package cn.xinfei.xdecision.common.service.component.componentaction;

import cn.xinfei.xdecision.common.model.component.ComponentAction;

import java.util.List;

public interface ComponentActionService {

    /**
     * 保存动作配置
     */
    void saveOrUpdateComponentAction(List<ComponentAction> componentActionList, String componentCode, String componentType, Long versionNo);

    /**
     * 通过组件code查询动作配置
     */
    List<ComponentAction> getComponentActionByComponentCode(String componentCode, Long versionNo, List<String> componentTypeList);
}
